package com.sczmgk.hotline_pzh.entity;

import com.sczmgk.hotline_pzh.annotation.Column;
import com.sczmgk.hotline_pzh.annotation.ID;
import com.sczmgk.hotline_pzh.annotation.TableName;
import com.sczmgk.hotline_pzh.annotation.Where;
import com.sczmgk.hotline_pzh.db.DBHelper;

/**
 * Created by Administrator on 2016/12/1 0001.
 */
@TableName(DBHelper.TABLE_USER)
public class User extends BasicEntity {

   public String password;

    @Where(isQuery = true)
    @Column(DBHelper.USERID)
    public int userid;

    @Column(DBHelper.USER_NAME)
    public String consumersname ;

    @Column(DBHelper.USER_NICK_NAME)
    public String nickname ;
    @Column(DBHelper.USER_BIRTHDAY)
    public String birthday ;
    @Column(DBHelper.USER_PHONE)
    public String phone ;
    @Column(DBHelper.USER_IDCARD)
    public String idcard ;
    @Column(DBHelper.USER_ADDRESS)
    public String address ;
    @Column(DBHelper.USER_HEADURL)
    public String headurl ;
    @Column(DBHelper.USER_IMAGELOCALPATH)
    public String imageLocalPath;
    @Column(DBHelper.USER_EASEMOBSACCOUNT)
    public String easemobsaccount ;
    @Column(DBHelper.USER_EASEMOBSPASSWORD)
    public String easemobspassword ;
    @Column(DBHelper.USER_SEX)
    public int sex;
    @Column(DBHelper.USER_CONSUMERSTYPE)
    public int consumerstype;

    @Column(DBHelper.USER_MAILBOX)
    public String mailbox;

    @ID(autoIncrement = true)
    @Column(DBHelper.TABLE_ID)
    private int id;

 public int getId() {
  return id;
 }

 public void setId(int id) {
  this.id = id;
 }
}
